package com.cqjtu.eecs.entity.params.teacher;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @description: 教师信息添加参数校验
 * @author: 徐文升
 * @create: 2022-03-09 10:56
 **/

@Data
@EqualsAndHashCode
public class TeacherAddParams {

    @NotBlank(message = "教师姓名不能为空")
    @ApiModelProperty(value = "教师姓名", required = true)
    private String teacherName;

    @NotBlank(message = "教师工号不能为空")
    @ApiModelProperty(value = "教师工号", required = true)
    private String teacherCode;

    @NotBlank(message = "所属学院编号不能为空")
    @ApiModelProperty(value = "所属学院编号", required = true)
    private String academyId;
}
